﻿namespace Entity.Finance.DTO.MonthWages
{
    /// <summary>
    /// 工资表模型 - 新增
    /// </summary>
    public class MonthWagesAddDTO
    {
        /// <summary>
        /// 工资编码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 年份
        /// </summary>
        public string? Year { get; set; }

        /// <summary>
        /// 月份
        /// </summary>
        public string? Month { get; set; }

        /// <summary>
        /// 子单
        /// </summary>
        public List<MonthWagesAddItemDTO> Items { get; set; } = new();
    }
    public class MonthWagesAddItemDTO
    {

        /// <summary>
        /// 员工 ID
        /// </summary>
        public string StaffId { get; set; }

        /// <summary>
        /// 应发工资
        /// </summary>
        public decimal PayMoney { get; set; }

        /// <summary>
        /// 社保
        /// </summary>
        public decimal? SocialSecurity { get; set; }

        /// <summary>
        /// 其他
        /// </summary>
        public decimal? OtherMoney { get; set; }

        /// <summary>
        /// 实发工资
        /// </summary>
        //public decimal ActualMoney { get; set; }
    }
}
